<?php
/**
 * [PHPFOX_HEADER]
 */

defined('PHPFOX') or exit('NO DICE!');

/**
 * 
 * 
 * @copyright		[PHPFOX_COPYRIGHT]
 * @author  		Raymond Benc
 * @package 		Phpfox_Component
 * @version 		$Id: activity.class.php 982 2009-09-16 08:11:36Z Raymond_Benc $
 */
class Iaip1_Component_Block_fetchedUsers extends Phpfox_Component
{
	/**
	 * Class process method wnich is used to execute this component.
	 */
	public function process()
	{
		$iDays = $this->request()->getInt('iDays');
		
		$aUsers = Phpfox::getService('iaip1')->fetchUsers($iDays);
		
		$this->template()->assign(array(
				'aUsers' => $aUsers
			)
		);
		
		return 'block';
	}
	// sorry, no plugins in this add-on. But its open source, feel free to change it
	// anyway you want, its licensed as GNU Public License v3
}

?>
